*************************************************
* Analysis for:
*
* Jordan, Soren and Andrew Q. Philips. ``Improving the interpretation
*  of Random Effects Regression Results.'' Political Studies Review
*  DOI: 10.1177/14789299211068418
*
* Required files: VLB-replication.dta
*
*************************************************
use "/.../VLB-replication.dta", clear

sum  voteincparfirst voteinclagged winstability gdpgrowthlag tradegdp sharedrule termlimited negretlegpow freedommedia concurrentordinal majleg
xtset country time, yearly
gen gdplag_concurord= concurrentordinal* gdpgrowthlag

* Table 3. These models are identical
xtreg voteincparfirst gdpgrowthlag voteinclagged winstability tradegdp concurrentordinal gdplag_concurord, re robust theta
reg voteincparfirst gdpgrowthlag voteinclagged winstability tradegdp concurrentordinal gdplag_concurord, vce(cluster country)
